package cn.iocoder.yudao.module.shop.convert.variable;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.shop.controller.admin.variable.vo.*;
import cn.iocoder.yudao.module.shop.dal.dataobject.variable.ShopVariableDO;

/**
 * 零散变量 Convert
 *
 * @author 曹建伟
 */
@Mapper
public interface ShopVariableConvert {

    ShopVariableConvert INSTANCE = Mappers.getMapper(ShopVariableConvert.class);

    ShopVariableDO convert(ShopVariableCreateReqVO bean);

    ShopVariableDO convert(ShopVariableUpdateReqVO bean);

    ShopVariableRespVO convert(ShopVariableDO bean);

    List<ShopVariableRespVO> convertList(List<ShopVariableDO> list);

    PageResult<ShopVariableRespVO> convertPage(PageResult<ShopVariableDO> page);

    List<ShopVariableExcelVO> convertList02(List<ShopVariableDO> list);

}
